<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:p="http://primefaces.org/ui">
<body>
	<ui:composition>

		<p:dialog header="Select Items" widgetVar="dlg2" modal="true"
			height="100">

		</p:dialog>



		<fieldset>
			<legend>Add New Item Request</legend>
			<table>
				<thead>
					<tr>
						<th><h:outputText value="Item" /> <p:commandButton
								type="button" onclick="PF('dlg2').show();" icon="searchbutton">
							</p:commandButton></th>
						<th><h:outputText value="Quantity" /></th>
						<th><h:outputText value="Unit" /></th>
						<th><h:outputText value="Remarks" /></th>
						<th><h:outputText value="Action" /></th>
					</tr>
				</thead>
				<tbody>
					<tr>
						<td><h:inputText value="" /></td>
						<td><h:inputText value="" /></td>
						<td><h:inputText value="" /></td>
						<td><h:inputText value="" /></td>
						<td><h:commandButton styleClass="createbutton imgtxtbtn"
								value="Add" action="#{listBean.deleteRequestItem(itemreq.id)}"></h:commandButton></td>
					</tr>
				</tbody>
			</table>

		</fieldset>
	</ui:composition>
</body>
</html>